package com.jingyanzi.member.api;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.jingyanzi.member.domain.LoginDO;


@FeignClient("session-service")
@RestController
@RequestMapping("/user_info")
public interface SessionClientAPI {

	@RequestMapping("/session/{token}") 
	public LoginDO getSession(@PathVariable(value = "token") String token);
}
